home *** CD-ROM | disk | FTP | other *** search
/ Experimental BBS Explossion 3 / Experimental BBS Explossion III.iso / gus / sdkdigv8.zip / SDKV8N24.TXT < prev    next >
Text File  |  1994-01-30  |  4KB  |  91 lines

  1. Apparently-To: john.smith@gravis.com
  2.  
  3.  
  4. GUS Programmer's Digest     Sat, 29 Jan 94  4:12         Volume 8: Issue  24  
  5.  
  6. Today's Topics:
  7.         Reading voice while playing it - strange side effects
  8.  
  9. Standard Info:
  10.     - Meta-info about the GUS can be found at the end of the Digest.
  11.     - Before you ask a question, please READ THE FAQ.
  12.  
  13. ----------------------------------------------------------------------
  14.  
  15. Date: Fri, 28 Jan 1994 09:47:05 -0500
  16. From: davidm@marcam.com (David MacMahon)
  17. Subject: Re: Reading voice while playing it - strange side effects
  18.  
  19. >Date: Fri, 28 Jan 1994 10:05:14 SAT
  20. >From: "Michael Patricios" <PATRICIO@odie.ee.wits.ac.za>
  21. >Subject: Reading voice while playing it - strange side effects
  22. >
  23. >I have recently been writing a bit of a MOD player for the GUS and am
  24. >trying to put some oscilloscope type thingys, one for each channel.
  25. >The way I am doing this is to read the voice accumulator position and
  26. >then peek that address in GUS RAM. Works great, the only problem being
  27. >that when I draw the waveforms on the screen, I occassionally get
  28. >weird noises (kinda like "squeaks") coming from my GUS.
  29. >
  30. >If I continuously read the voice position and peek the address, this 
  31. >does not seem to happen, only if I am using graphics at the same time.
  32. >If I just draw a whole lot of crap on the screen without reading 
  33. >anything from the GUS, it doen't seem to happen either. It only seems 
  34. >to happen when I read AND use graphics!!!!!!!
  35. >
  36. >Any ideas anybody??
  37.  
  38. Does the squeaking happen if you only read the voice position and draw on 
  39. the screen (no peeking)?  Does the squeaking happen when you only peek and 
  40. draw (no reading of voice position)?  Does the squeaking happen if you read 
  41. the voice position then peek the address then wait for a small amount of 
  42. time (small wait substituted for drawing to the screen?  My *speculative* 
  43. theory is that the reading of the voice position register is happening at a 
  44. regular frequency and that once in a while the reading (by you)  with the 
  45. reading of the voice position by the GF1 (kind of like a beat frequency 
  46. thing).  It may be the peeking instead of the reading that is conflicting 
  47. with the GF1's access of the memory.
  48.  
  49. >Is there perhaps a better way of drawing a scope on the screen???
  50. >Obviously all the sample data is in GUS RAM so I will definitely
  51. >need to peek it.
  52.  
  53. Well, you'd probably have to use XMS, but you could keep a 1 MB buffer in 
  54. the PC's memory that was an exact copy of the GUS's memory.  This may not 
  55. help if it is the reading of the VP that is causing your squeaking, though.
  56.  
  57. >Thanks for any input.
  58.  
  59. I don't know if these ideas will help, but your welcome!
  60.  
  61. Dave
  62.  
  63. P.S. Yes, I'm still working on GusDelay, but not as much as I would like...
  64.  
  65. David MacMahon
  66. Software Engineer
  67. davidm@marcam.com
  68.  
  69. ------------------------------
  70.  
  71. End of GUS Programmer's Digest V8 #24
  72. *************************************
  73.  
  74. To post to tomorrow's digest:                    <gus-sdk@dsd.es.com>
  75. To (un)subscribe or get help:            <gus-sdk-request@dsd.es.com>
  76. To contact a human (last resort):          <gus-sdk-owner@dsd.es.com>
  77.  
  78. FTP sites:           archive.epas.utoronto.ca              /pub/pc/ultrasound
  79.                      wuarchive.wustl.edu            /systems/ibmpc/ultrasound
  80.                      archive.orst.edu                    /pub/packages/gravis
  81.                      theoris.rz.uni-konstanz.de                /pub/sound/gus
  82.                      nctuccca.edu.tw                           /PC/ultrasound
  83. FTP mail server:     mail-server@nike.rz.uni-konstanz.de
  84.  
  85. Hints:
  86.       - Get the FAQ from the FTP sites or the request server.
  87.       - Mail to <gus-sdk-request@dsd.es.com> for info about other GUS
  88.     related mailing lists (general use, musician's, etc.).
  89.  
  90.  
  91.